<template>
    <div class="title-box">
        <span class="t-b-name">{{title}}</span>
        <span>
            <slot name="item"></slot>
        </span>
    </div>
</template>
<script>
export default {
    name: 'TitleBox',
    props: {
        title: {
            type: String,
            required: true
        }
    }
}
</script>
<style lang="less" scoped>
    .title-box {
        height: 70px;
        line-height: 80px;
        padding-left: 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        .t-b-name {
            color: #464d5f;
            font-size: 18px;
        }
    }
</style>
